<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>后台管理系统</title>
<meta name="description" content="">
<meta name="keywords" content="">
<meta http-equiv="Refresh" content ="<?php echo $t;?>;<?php echo site_url($url);?>"/>
<base href="<?php echo base_url();?>">
<link href="<?php echo base_url('application/views/css/style.css');?>" rel="stylesheet">
<link href="<?php echo base_url('application/views/css/content.css');?>" rel="stylesheet">
<script type='text/javascript' src="<?php echo base_url('application/views/js/jquery.min.js');?>"> </script>
<script type='text/javascript' src="<?php echo base_url('application/views/js/app.js');?>"> </script>
<link href="<?php echo base_url('application/views/themes/default/css/ueditor.min.css');?>" type="text/css" rel="stylesheet">
<script type="text/javascript" charset="utf-8" src="<?php echo base_url('application/views/ueditor.config.js');?>"></script>
<script type="text/javascript" charset="utf-8" src="<?php echo base_url('application/views/ueditor.all.min.js');?>"></script>
<script type="text/javascript" src="<?php echo base_url('application/views/lang/zh-cn/zh-cn.js');?>"></script>
<script>
		function mOver(obj){
			var imgNode = obj.childNodes[1];
			var attr = imgNode.getAttribute('src');
			if(attr.search("link.png")>=0){
				var Attr=attr.replace("link.png","linked.png");
				imgNode.setAttribute('src',Attr);
			}else if(attr.search("user.png")>=0){
				var Attr = attr.replace("user.png","usered.png");
				imgNode.setAttribute("src",Attr);
			}else if(attr.search("clear.png")>=0){
				var Attr = attr.replace("clear.png","cleared.png");
				imgNode.setAttribute("src",Attr);
			}
		}
		
		function mOut(obj){
			var imgNode = obj.childNodes[1];
			var attr = imgNode.getAttribute('src');
			if(attr.search("linked.png")>=0){
				var Attr=attr.replace("linked.png","link.png");
				imgNode.setAttribute('src',Attr);
			}else if(attr.search("usered.png")>=0){
				var Attr = attr.replace("usered.png","user.png");
				imgNode.setAttribute("src",Attr);
			}else if(attr.search("cleared.png")>=0){
				var Attr = attr.replace("cleared.png","clear.png");
				imgNode.setAttribute("src",Attr);
			}		
		}
</script>
</head>

<body>
<div id='head'>

	<div id="banner">
		<span id="logo">欣艺阳光官网后台</span>
		<div id="current_time">
			<span id="time"></span>
		</div>
	</div>

	<div id="head_nav">
		<div>
			<ul>
				<li class="nav_main">
					<a href="javascript:void(0);" onmouseover="mOver(this)" onmouseout="mOut(this)">
						<img src="<?php echo base_url('application/views/images/user.png');?>" alt="icon">
						<span>刘美林</span>
					</a>
					<ul>
						<li><a href="javascript:void(0);">退出登录</a></li>
						<li><a href="javascript:void(0);">退出</a></li>
					</ul>
				</li>

				<li class="nav_main">
					<a href="javascript:void(0);" onmouseover="mOver(this)" onmouseout="mOut(this)">
						<img src="<?php echo base_url('application/views/images/link.png');?>" alt="icon">
						<span>链接</span>
					</a>
					<ul>
						<li><a href="<?php echo base_url();?>">前台地址</a></li>
						<li><a href="javascript:void(0);">后台地址</a></li>
					</ul>
				</li>

				<li class="nav_main">
					<a href="<?php echo base_url('admin/system/clear_cache');?>" target='_self' onmouseover="mOver(this)" onmouseout="mOut(this)">
						<img src="<?php echo base_url('application/views/images/clear.png');?>" alt="icon">
						<span>清除缓存</span>
					</a>
				</li>
			</ul>
		</div>
	</div>

</div>
<div id='menu'>
<div id='border'>
	<div id="menu-content">
		<ul>

			<li class=menu-main>
				<a href="javascript:void(0);">
					<span>系统管理</span>
					<img id='icon' src="<?php echo base_url('application/views/images/menu_minus.gif');?>" alt="plus">
				</a>
				<ul>
					<li><a href="<?php echo base_url('admin/system');?>">系统说明</a></li>
					<li><a href="<?php echo base_url('admin/config');?>">配置管理</a></li>
					<li><a href="<?php echo base_url('admin/admin');?>">管理员管理</a></li>
					<li><a href="javascript:void(0)">站长统计</a></li>
				</ul>
			</li>

			<li class=menu-main>
				<a href="javascript:void(0);">
					<span>新闻管理</span>
					<img id='icon' src="<?php echo base_url('application/views/images/menu_minus.gif');?>" alt="plus_icon">
				</a>
				<ul>
					<li><a href="<?php echo base_url('admin/News/index')?>">新闻列表</a></li>
					<li><a href="<?php echo base_url('admin/News/news_add');?>">添加新闻</a></li>
					<li><a href="<?php echo base_url('admin/News/news_draft');?>">草&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;稿</a></li>
				</ul>
			</li>

			<li class='menu-main'>
				<a href="javascript:void(0);">
					<span>图片管理</span>
					<img id='icon' src="<?php echo base_url('application/views/images/menu_minus.gif');?>" alt="plus">
				</a>
				<ul>
					<li><a href="<?php echo base_url('admin/Picture/index');?>">图片列表</a></li>
					<li><a href="<?php echo base_url('admin/Picture/picture_upload');?>">上传图片</a></li>
				</ul>
			</li>

			<li class='menu-main'>
				<a href="javascript:void(0);">
					<span>扩展中心</span>
					<img id='icon' src="<?php echo base_url('application/views/images/menu_minus.gif');?>" alt="plus">
				</a>
				<ul>
					<li><a href="javascript:void(0);">功能模块</a></li>
					<li><a href="javascript:void(0);">插件管理</a></li>
				</ul>
			</li>

		</ul>
	</div>
</div>
</div>


<div class='content'>
	<div id="content_wrapper">
		<div id="breadcrumbs">
			<div id="crumbs">	
				<ul>
					<li style="border-right:none;"><img style='margin-right:5px;' src="<?php echo base_url('application/views/images/failure.png');?>" alt="tishi">系统提示！</li>
				</ul>
			</div>
		</div>

		<div id="notice_wrapper"> 
			<div class="notice_header"><h3>崩溃吧！屌丝(~>__<~)...</h3></div>
			<div class="notice_success"> <img src="<?php echo base_url('application/views/images/failure_a.png');?>" alt=""><?php echo $message;?></div>
			<div class="notice_footer"><a href="<?php echo site_url($url);?>"><?php echo $t;?>秒之后，将自动跳转...</a></div>
		</div>
	</div>
</div>
</body>
</html>